//
//  MBBaseViewController.h
//  MobellCloud_ios
//
//  Created by cherry pu on 2017/12/21.
//  Copyright © 2017年 zhangXin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBBaseViewModel.h"
#import "MBBaseNaviView.h"

@interface MBBaseViewController : UIViewController

// 基础ViewModel
@property (nonatomic,strong,readonly) MBBaseViewModel *viewModel;

/**
 唯一初始化方法
 
 @param viewModel 传入ViewModel
 @return 实例化控制器对象
 */
- (instancetype)initWithViewModel:(MBBaseViewModel *)viewModel;

/**
 布局UI
 */
- (void)setupLayout;

@property (nonatomic,weak)MBBaseNaviView* naviView;

@end
